Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .gitattributes file #367

Merged

Conversation

alamirault
Copy link
Contributor

Hello,

This PR add .gitattributes with export-ignore in order to reduce vendor size

More info here:
https://php.watch/articles/composer-gitattributes#export-ignore

With this change, vendor size goes from 5MB to 1.1MB

@@ -0,0 +1,10 @@
/.github export-ignore
/doc export-ignore
/samples export-ignore
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if we must exclude this folder for DX.

Size is 1.2M

@k0ka k0ka merged commit ac606a4 into php-opencloud:master Sep 24, 2023
6 checks passed
@k0ka
Copy link
Member

k0ka commented Sep 24, 2023

Thank you.

@alamirault alamirault deleted the feature/add-gitattributes-tests branch September 24, 2023 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants